package com.nlscan.qdkit.ui.publico.art.mvvm

import androidx.lifecycle.MutableLiveData

/**
 * <pre>
 *  author: lin.qing
 *  time  : 2023/6/20
 *  desc  :
 * </pre>
 */
open class BaseDialogViewModel : BaseViewModel() {

    val dismissDialogState: MutableLiveData<Boolean> by lazy {
        MutableLiveData<Boolean>()
    }

    /**
     * 关闭弹窗，并且将当前ipProtocol回传给SettingsFragment
     */
    protected fun dismissDialog() {
        dismissDialogState.postValue(true)
    }


}